import request from '@/utils/request'
import type { ApiResponse, PageResponse } from '@/types/api'
import { ElMessage, ElMessageBox } from 'element-plus'
import { validateExcelFile } from '@/utils/request'

<#assign lowerEntity = table.entityName?uncap_first>

const base = '/${table.moduleName}/${lowerEntity}'

/**
 * ${table.comment!table.entityName} API（单表模式）
 */
export const ${lowerEntity}Api = {
<#include "../base/api-methods.ftl">
}

<#include "../base/api-with-ui.ftl">

export default ${lowerEntity}Api


